package com.novellotus.iov.carvice.bean;

import java.util.List;

/**
 * Created by Rich on 2017/8/11.
 */

public class RxCarListBean {


    /**
     * current : 1
     * size : 10
     * total : 3
     * records : [{"chargeStatus":3,"vehicleStatus":1,"alarmStatus":0,"onlineStatus":1,"vin":"LGHF9CRH6EJ001731","pn":"贵A503D0","logo":"carlogo/1498793556624_file.jpg","name":"S-CAR-043","code":"S-CODE-043","lat":30.537054,"lng":104.072429,"collectTime":1500949267000},{"chargeStatus":4,"vehicleStatus":1,"alarmStatus":3,"onlineStatus":1,"vin":"LGHF9CRH6EJ001734","pn":"贵A503D9","logo":"car/1501069691715_file.jpg","name":"车型名称--001","code":"车型名称--001","lat":30.547255,"lng":104.043075,"collectTime":1500951411000},{"chargeStatus":3,"vehicleStatus":1,"alarmStatus":0,"onlineStatus":0,"vin":"LDPGABACBHF160161","pn":"云A40771","logo":"car/1500718533876_file.jpg","name":"红塔-1101","code":"HT029384","lat":30.540425,"lng":104.059053,"collectTime":1502356143000}]
     */

    private int current;
    private int size;
    private int total;//总数量
    private List<RecordsBean> records;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean {
        /**
         * chargeStatus : 3
         * vehicleStatus : 1
         * alarmStatus : 0
         * onlineStatus : 1
         * vin : LGHF9CRH6EJ001731
         * pn : 贵A503D0
         * logo : carlogo/1498793556624_file.jpg
         * name : S-CAR-043
         * code : S-CODE-043
         * lat : 30.537054
         * lng : 104.072429
         * collectTime : 1500949267000
         */

        private int chargeStatus;
        private int vehicleStatus;
        private int alarmStatus;
        private int onlineStatus;
        private String vin;
        private String pn;
        private String logo;
        private String name;
        private String code;
        private double lat;
        private double lng;
        private long collectTime;

        public int getChargeStatus() {
            return chargeStatus;
        }

        public void setChargeStatus(int chargeStatus) {
            this.chargeStatus = chargeStatus;
        }

        public int getVehicleStatus() {
            return vehicleStatus;
        }

        public void setVehicleStatus(int vehicleStatus) {
            this.vehicleStatus = vehicleStatus;
        }

        public int getAlarmStatus() {
            return alarmStatus;
        }

        public void setAlarmStatus(int alarmStatus) {
            this.alarmStatus = alarmStatus;
        }

        public int getOnlineStatus() {
            return onlineStatus;
        }

        public void setOnlineStatus(int onlineStatus) {
            this.onlineStatus = onlineStatus;
        }

        public String getVin() {
            return vin;
        }

        public void setVin(String vin) {
            this.vin = vin;
        }

        public String getPn() {
            return pn;
        }

        public void setPn(String pn) {
            this.pn = pn;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(double lng) {
            this.lng = lng;
        }

        public long getCollectTime() {
            return collectTime;
        }

        public void setCollectTime(long collectTime) {
            this.collectTime = collectTime;
        }
    }
}
